#pragma once

#include <stdio.h>
#include <string.h>

struct people
{
	char name[20];
	int age;
	double weight;
};

void bubble_sort(void* base, size_t sz, size_t width, int (*cmp)(const void*, const void*));
void swap(char* buf1, char* buf2, size_t width);
void print_struct_name(struct people* p, size_t sz);
void print_struct_age(struct people* p, size_t sz);